<extend name="Public/base" />
<block name="content">
<div id="content">
	<div id="content-header">
		<div id="breadcrumb">
			<a href="{:U('Index/index')}" title="首页" class="tip-bottom"><i class="icon-home"></i> 首页</a> 
			<a href="#" class="current">{$meta_title}</a>
		</div>
	</div>
	<div class="container-fluid">
		<br/>
		<div class="search-form fl cf">
			<span class="control-group">
				<select class="form-control" style="width: 150px;" name="pay_type" id="pay_type">
					<option value=0>选择支付方式</option>
					<!-- option value='alipay'>支付宝</option> -->
					<option value='wechatpay'>微信扫码</option>
					<option value='wechatwappay'>微信内支付</option>
				</select>
			</span>
			<span class="control-group">
				<input type="text" name="out_trade_no" class="search-input" value="{:strip_tags(I('out_trade_no'))}" placeholder="请输入支付网关 订单号" style="margin-bottom:0;">
				<button class="btn btn-info" id="search_button" url="{:U('Shop/getOrderPayStatus')}"><i class="icon-search icon-white"></i></button>
			</span>
		</div>
		<div class="row-fluid">
			<div class="span12">
				<div class="widget-box">
					<div class="widget-content ">
					<notempty name="result">
						<if condition = "result.status == 1">
							<table class="table table-bordered table-striped with-check">
								<thead>
									<tr>
										<th nowrap="nowrap">支付网关订单号</th>
										<th>交易号</th>
										<th>附加参数</th>
										<th>交易金额</th>
									</tr>
								</thead>
								<tbody>
									<volist name="_list" id="vo">
										<tr>
											<td class="taskStatus">{$result.data.out_trade_no}</td>
											<td class="taskStatus">{$result.data.transaction_id}</td>
											<td class="taskStatus">{$result.data.attach}</td>
											<td class="taskStatus">{$result.money}</td>
										</tr>
									</volist>
								</tbody>
							</table>
						<else/>
						<center>{$status.info}</center>
						</if>
					<else/>
						<center>请输入筛选条件</center>
					</notempty>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
$(function (){
	//新增跳转页面
	$('#add').click(function(){
		window.location.href="{:U('Shop/add')}";
	});
	set_value("pay_type","{:I('pay_type')}")
});
//导航高亮
highlight_subnav("{:U('Shop/index')}");
</script>
</block>